package io.xxx.mario.robot;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Optional;

@Mapper
public interface RobotMapper extends BaseMapper<Robot> {

    Optional<Robot> findFirstByReceiver(@Param("receiverType") String receiverType, @Param("receiverId") Long receiverId);
}
